package cn.bdqn.service.impl;

import cn.bdqn.domain.Departments;
import cn.bdqn.mapper.DepartmentsMapper;
import cn.bdqn.service.DepartmentsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author 周安康
 * @create 2020/10/3 10:27
 */
@Service
public class DepartmentsServiceImpl implements DepartmentsService {

    @Autowired
    private DepartmentsMapper departmentsMapper;

    @Override
    public List<Departments> selectAllInfo() {
        return departmentsMapper.selectAllInfo();
    }
}
